CancelAsync requires that the GlobalTimer component that is shipped with Mastering Visual Basic 5 but registered with the system and that the reference be set to it.